home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_xemacs.idb / usr / freeware / lib / xemacs-20.4 / lisp / tl / tu-replace.elc.z / tu-replace.elc
Emacs Compiled Lisp  |  1998-05-21  |  1.5 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was processed as: Emacs Compiled Lisp (other/emacsCompiledLisp).
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) magic Unsupported
100% file Emacs/XEmacs v20 byte-compiled Lisp data default
99% file data default
100% TrID Emacs/XEmacs byte-compiled Lisp (generic) default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 14 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 6a 75 73 74 69 6e 62 |piled by| justinb|
|00000020| 40 65 62 6f 6e 79 2e 63 | 72 61 79 2e 63 6f 6d 20 |@ebony.c|ray.com |
|00000030| 6f 6e 20 4d 6f 6e 20 4d | 61 72 20 20 39 20 31 32 |on Mon M|ar 9 12|
|00000040| 3a 35 35 3a 30 35 20 31 | 39 39 38 0a 3b 3b 3b 20 |:55:05 1|998.;;; |
|00000050| 66 72 6f 6d 20 66 69 6c | 65 20 2f 68 6f 6d 65 2f |from fil|e /home/|
|00000060| 61 73 70 65 6e 30 37 2f | 6a 75 73 74 69 6e 62 2f |aspen07/|justinb/|
|00000070| 72 6f 6f 74 73 2f 66 72 | 65 65 77 61 72 65 2f 78 |roots/fr|eeware/x|
|00000080| 65 6d 61 63 73 2f 32 30 | 2e 33 2f 78 65 6d 61 63 |emacs/20|.3/xemac|
|00000090| 73 2d 32 30 2e 33 2f 6c | 69 73 70 2f 74 6c 2f 74 |s-20.3/l|isp/tl/t|
|000000a0| 75 2d 72 65 70 6c 61 63 | 65 2e 65 6c 0a 3b 3b 3b |u-replac|e.el.;;;|
|000000b0| 20 65 6d 61 63 73 20 76 | 65 72 73 69 6f 6e 20 32 | emacs v|ersion 2|
|000000c0| 30 2e 34 20 22 45 6d 65 | 72 61 6c 64 22 20 58 45 |0.4 "Eme|rald" XE|
|000000d0| 6d 61 63 73 20 20 4c 75 | 63 69 64 2e 0a 3b 3b 3b |macs Lu|cid..;;;|
|000000e0| 20 62 79 74 65 63 6f 6d | 70 20 76 65 72 73 69 6f | bytecom|p versio|
|000000f0| 6e 20 32 2e 32 35 20 58 | 45 6d 61 63 73 3b 20 32 |n 2.25 X|Emacs; 2|
|00000100| 32 2d 4d 61 72 2d 39 36 | 2e 0a 3b 3b 3b 20 6f 70 |2-Mar-96|..;;; op|
|00000110| 74 69 6d 69 7a 61 74 69 | 6f 6e 20 69 73 20 6f 6e |timizati|on is on|
|00000120| 2e 0a 3b 3b 3b 20 74 68 | 69 73 20 66 69 6c 65 20 |..;;; th|is file |
|00000130| 75 73 65 73 20 6f 70 63 | 6f 64 65 73 20 77 68 69 |uses opc|odes whi|
|00000140| 63 68 20 64 6f 20 6e 6f | 74 20 65 78 69 73 74 20 |ch do no|t exist |
|00000150| 69 6e 20 45 6d 61 63 73 | 20 31 39 2e 0a 0a 28 69 |in Emacs| 19...(i|
|00000160| 66 20 28 61 6e 64 20 28 | 62 6f 75 6e 64 70 20 27 |f (and (|boundp '|
|00000170| 65 6d 61 63 73 2d 76 65 | 72 73 69 6f 6e 29 0a 09 |emacs-ve|rsion)..|
|00000180| 20 28 6f 72 20 28 61 6e | 64 20 28 62 6f 75 6e 64 | (or (an|d (bound|
|00000190| 70 20 27 65 70 6f 63 68 | 3a 3a 76 65 72 73 69 6f |p 'epoch|::versio|
|000001a0| 6e 29 20 65 70 6f 63 68 | 3a 3a 76 65 72 73 69 6f |n) epoch|::versio|
|000001b0| 6e 29 0a 09 20 20 20 20 | 20 28 73 74 72 69 6e 67 |n).. | (string|
|000001c0| 2d 6c 65 73 73 70 20 65 | 6d 61 63 73 2d 76 65 72 |-lessp e|macs-ver|
|000001d0| 73 69 6f 6e 20 22 32 30 | 22 29 29 29 0a 20 20 20 |sion "20|"))). |
|000001e0| 20 28 65 72 72 6f 72 20 | 22 60 74 75 2d 72 65 70 | (error |"`tu-rep|
|000001f0| 6c 61 63 65 2e 65 6c 27 | 20 77 61 73 20 63 6f 6d |lace.el'| was com|
|00000200| 70 69 6c 65 64 20 66 6f | 72 20 45 6d 61 63 73 20 |piled fo|r Emacs |
|00000210| 32 30 22 29 29 0a 0a 28 | 6f 72 20 28 62 6f 75 6e |20"))..(|or (boun|
|00000220| 64 70 20 27 63 75 72 72 | 65 6e 74 2d 6c 6f 61 64 |dp 'curr|ent-load|
|00000230| 2d 6c 69 73 74 29 20 28 | 73 65 74 71 20 63 75 72 |-list) (|setq cur|
|00000240| 72 65 6e 74 2d 6c 6f 61 | 64 2d 6c 69 73 74 20 6e |rent-loa|d-list n|
|00000250| 69 6c 29 29 0a 0a 0a 28 | 62 79 74 65 2d 63 6f 64 |il))...(|byte-cod|
|00000260| 65 20 22 c0 c1 21 ac 82 | c2 11 c1 0b 42 13 09 ac |e "..!..|....B...|
|00000270| 8a c4 0d 21 11 c6 09 c7 | c8 23 88 c9 ca 21 88 c9 |...!....|.#...!..|
|00000280| cb 21 88 c9 cc 21 88 c0 | ca 21 ac 83 c2 16 5c 6e |.!...!..|.!....\n|
|00000290| ca 0b 42 13 c0 cb 21 ac | 83 c2 16 0b cb 0b 42 13 |..B...!.|......B.|
|000002a0| c0 cc 21 ac 83 c2 16 0c | cc 0b 42 13 c2 87 22 20 |..!.....|..B..." |
|000002b0| 5b 62 6f 75 6e 64 70 20 | 65 64 69 74 2d 72 65 70 |[boundp |edit-rep|
|000002c0| 6c 61 63 65 2d 6d 6f 64 | 65 2d 6d 61 70 20 6e 69 |lace-mod|e-map ni|
|000002d0| 6c 20 63 75 72 72 65 6e | 74 2d 6c 6f 61 64 2d 6c |l curren|t-load-l|
|000002e0| 69 73 74 20 63 6f 70 79 | 2d 6b 65 79 6d 61 70 20 |ist copy|-keymap |
|000002f0| 74 65 78 74 2d 6d 6f 64 | 65 2d 6d 61 70 20 64 65 |text-mod|e-map de|
|00000300| 66 69 6e 65 2d 6b 65 79 | 20 22 03 03 22 20 65 64 |fine-key| ".." ed|
|00000310| 69 74 2d 72 65 70 6c 61 | 63 65 2d 71 75 65 72 79 |it-repla|ce-query|
|00000320| 2d 72 65 70 6c 61 63 65 | 20 6d 61 6b 65 2d 76 61 |-replace| make-va|
|00000330| 72 69 61 62 6c 65 2d 62 | 75 66 66 65 72 2d 6c 6f |riable-b|uffer-lo|
|00000340| 63 61 6c 20 65 64 69 74 | 2d 72 65 70 6c 61 63 65 |cal edit|-replace|
|00000350| 2d 6f 72 69 67 69 6e 61 | 6c 2d 62 75 66 66 65 72 |-origina|l-buffer|
|00000360| 20 65 64 69 74 2d 72 65 | 70 6c 61 63 65 2d 73 74 | edit-re|place-st|
|00000370| 61 72 74 2d 70 6f 69 6e | 74 20 65 64 69 74 2d 72 |art-poin|t edit-r|
|00000380| 65 70 6c 61 63 65 2d 65 | 6e 64 2d 70 6f 69 6e 74 |eplace-e|nd-point|
|00000390| 5d 20 34 29 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |] 4).(de|falias '|
|000003a0| 65 64 69 74 2d 72 65 70 | 6c 61 63 65 2d 72 65 67 |edit-rep|lace-reg|
|000003b0| 69 6f 6e 20 23 5b 28 62 | 65 67 20 65 6e 64 20 26 |ion #[(b|eg end &|
|000003c0| 6f 70 74 69 6f 6e 61 6c | 20 73 74 72 29 20 22 70 |optional| str) "p|
|000003d0| c0 c1 21 1a 1b c4 5c 6e | 21 88 c5 16 06 c7 16 08 |..!...\n|!.......|
|000003e0| c9 0e 5c 6e 21 88 0b 16 | 0b 0e 0c 16 0d 0e 0e 89 |..\n!...|........|
|000003f0| 16 0f 2a 87 22 20 5b 67 | 65 74 2d 62 75 66 66 65 |..*." [g|et-buffe|
|00000400| 72 2d 63 72 65 61 74 65 | 20 22 20 2a 65 64 69 74 |r-create| " *edit|
|00000410| 2d 72 65 70 6c 61 63 65 | 2a 22 20 62 75 66 20 74 |-replace|*" buf t|
|00000420| 68 65 2d 62 75 66 20 70 | 6f 70 2d 74 6f 2d 62 75 |he-buf p|op-to-bu|
|00000430| 66 66 65 72 20 65 64 69 | 74 2d 72 65 70 6c 61 63 |ffer edi|t-replac|
|00000440| 65 20 6d 61 6a 6f 72 2d | 6d 6f 64 65 20 22 65 64 |e major-|mode "ed|
|00000450| 69 74 20 66 6f 72 20 72 | 65 70 6c 61 63 65 22 20 |it for r|eplace" |
|00000460| 6d 6f 64 65 2d 6e 61 6d | 65 20 75 73 65 2d 6c 6f |mode-nam|e use-lo|
|00000470| 63 61 6c 2d 6d 61 70 20 | 65 64 69 74 2d 72 65 70 |cal-map |edit-rep|
|00000480| 6c 61 63 65 2d 6d 6f 64 | 65 2d 6d 61 70 20 65 64 |lace-mod|e-map ed|
|00000490| 69 74 2d 72 65 70 6c 61 | 63 65 2d 6f 72 69 67 69 |it-repla|ce-origi|
|000004a0| 6e 61 6c 2d 62 75 66 66 | 65 72 20 62 65 67 20 65 |nal-buff|er beg e|
|000004b0| 64 69 74 2d 72 65 70 6c | 61 63 65 2d 73 74 61 72 |dit-repl|ace-star|
|000004c0| 74 2d 70 6f 69 6e 74 20 | 65 6e 64 20 65 64 69 74 |t-point |end edit|
|000004d0| 2d 72 65 70 6c 61 63 65 | 2d 65 6e 64 2d 70 6f 69 |-replace|-end-poi|
|000004e0| 6e 74 5d 20 33 20 6e 69 | 6c 20 22 72 22 5d 29 0a |nt] 3 ni|l "r"]).|
|000004f0| 28 64 65 66 61 6c 69 61 | 73 20 27 65 64 69 74 2d |(defalia|s 'edit-|
|00000500| 72 65 70 6c 61 63 65 2d | 71 75 65 72 79 2d 72 65 |replace-|query-re|
|00000510| 70 6c 61 63 65 20 23 5b | 6e 69 6c 20 22 08 09 c2 |place #[|nil "...|
|00000520| c3 20 1c 1d 1e 06 1e 07 | c8 0e 09 21 88 0e 07 0e |. ......|...!....|
|00000530| 06 7b 15 0e 07 62 88 ca | 0d 0c 5c 22 2c 87 22 20 |.{...b..|..\",." |
|00000540| 5b 65 64 69 74 2d 72 65 | 70 6c 61 63 65 2d 73 74 |[edit-re|place-st|
|00000550| 61 72 74 2d 70 6f 69 6e | 74 20 65 64 69 74 2d 72 |art-poin|t edit-r|
|00000560| 65 70 6c 61 63 65 2d 65 | 6e 64 2d 70 6f 69 6e 74 |eplace-e|nd-point|
|00000570| 20 6e 69 6c 20 62 75 66 | 66 65 72 2d 73 74 72 69 | nil buf|fer-stri|
|00000580| 6e 67 20 72 73 74 72 20 | 73 74 72 20 65 6e 64 20 |ng rstr |str end |
|00000590| 62 65 67 20 73 77 69 74 | 63 68 2d 74 6f 2d 62 75 |beg swit|ch-to-bu|
|000005a0| 66 66 65 72 20 65 64 69 | 74 2d 72 65 70 6c 61 63 |ffer edi|t-replac|
|000005b0| 65 2d 6f 72 69 67 69 6e | 61 6c 2d 62 75 66 66 65 |e-origin|al-buffe|
|000005c0| 72 20 71 75 65 72 79 2d | 72 65 70 6c 61 63 65 5d |r query-|replace]|
|000005d0| 20 34 20 6e 69 6c 20 6e | 69 6c 5d 29 0a | 4 nil n|il]). |
+--------+-------------------------+-------------------------+--------+--------+